﻿<%@ Control Language="C#" ClassName="SupplierFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataPhone" runat="server" Text="Phone:" AssociatedControlID="dataPhone" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPhone" Text='<%# Bind("Phone") %>' MaxLength="20"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataRemark" runat="server" Text="Remark:" AssociatedControlID="dataRemark" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataRemark" Text='<%# Bind("Remark") %>' MaxLength="250"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataAddress" runat="server" Text="Address:" AssociatedControlID="dataAddress" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataAddress" Text='<%# Bind("Address") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataSupplierId" runat="server" Text="Supplier Id:" AssociatedControlID="dataSupplierId" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataSupplierId" Text='<%# Bind("SupplierId") %>' MaxLength="20"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataSupplierId" runat="server" Display="Dynamic" ControlToValidate="dataSupplierId" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataSupplierName" runat="server" Text="Supplier Name:" AssociatedControlID="dataSupplierName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataSupplierName" Text='<%# Bind("SupplierName") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


